package com.foreknow.elmboot.mapper;

import com.foreknow.elmboot.po.OrderDetailet;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 最酷的桃儿wjc
 * * @date 2022/5/9
 */
@Mapper
public interface OrderDetailMapper {
    /**
     *
     * @param list
     * @return
     */
    public int saveOrderDetaileBatch(List<OrderDetailet> list);

    /**
     *
     * @param orderId
     * @return
     */
    public List<OrderDetailet> lsitOrderDetailetByOrderId(Integer orderId);

}
